class test{
          public static void main(String[] args)
           {
            int[] array = {20,30};
            System.out.println("Sum of two numbers:" +addArray(array));
            }
	
          public static int addArray(int[] n)
           {
            int c=n[0]+n[1];
           return c;
		}
           }
           
           
        

            
